#!/usr/bin/env python

import sys
from PyQt4 import Qt
import QfNavBar

a = Qt.QApplication(sys.argv)
navbar = QfNavBar.QfNavBar()
group = navbar.addGroup("APPLICATIONS PYTHON");
navbar.addItem(group, Qt.QPixmap("icons/z_allApps.png"), "All Applications");
navbar.addItem(group, Qt.QPixmap("icons/z_updates.png"), "Updates");
navbar.addItem(group, Qt.QPixmap("icons/z_upToDate.png"), "Up To Date");
navbar.addItem(group, Qt.QPixmap("icons/z_unknown.png"), "Unknown");

group = navbar.addGroup("BY KIND");
navbar.addItem(group, Qt.QPixmap("icons/z_apps.png"), "Applications");
navbar.addItem(group, Qt.QPixmap("icons/z_plugins.png"), "Plugins");
navbar.addItem(group, Qt.QPixmap("icons/z_widgets.png"), "Widgets");
navbar.addItem(group, Qt.QPixmap("icons/z_prefApp.png"), "Preference Panes");
navbar.addItem(group, Qt.QPixmap("icons/z_systemUpdates.png"), "System Updates");

group = navbar.addGroup("VENDORS");
navbar.addItem(group, Qt.QPixmap("icons/z_apple.png"), "Apple");
#w.setSize(152, 165)
#w.setTerminalFont(Qt.QFont('Terminus'))

navbar.show()
a.exec_()
